use core::ffi;

pub type JVoid = ffi::c_void;

pub type JBool = sys::jboolean;
pub type JBoolean = sys::jboolean;

pub const JFALSE: JBool = sys::JNI_FALSE;
pub const JTRUE: JBool = sys::JNI_TRUE;

pub type JByte = sys::jbyte;

pub type JChar = sys::jchar;

pub type JShort = sys::jshort;

pub type JInt = sys::jint;

pub type JLong = sys::jlong;

pub type JFloat = sys::jfloat;

pub type JDouble = sys::jdouble;

pub type JSize = JInt;

pub type JRefType = sys::jobjectRefType;

pub type JNativeMethod = sys::JNINativeMethod;
